package com.hmall.common.Interface;

import com.hmall.user.pojo.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "orderservice")
public interface OrderClient {
    @GetMapping(value = "/order/{id}")
    User one(@PathVariable(value = "id")Long id);
}
